package com.sz.mes.service;

import com.diboot.core.vo.JsonResult;
import com.sz.mes.dto.ClockInDTO;
import com.sz.mes.dto.ReworkClockInDTO;
import com.sz.mes.entity.ClockIn;
import com.sz.mes.entity.Equipment;
import com.sz.mes.entity.ReworkClockIn;
import com.sz.mes.service.BaseCustomService;
import com.sz.mes.vo.GenerateTechniqueVO;

import java.text.ParseException;

/**
* 返工上下机记录相关Service
* @author hem
* @version 1.0
* @date 2024-10-26
 * Copyright © szhs
*/
public interface ReworkClockInService extends BaseCustomService<ReworkClockIn> {
    JsonResult generateTechnique(GenerateTechniqueVO generateTechniqueVO) throws ParseException;

    JsonResult upplane(ReworkClockIn reworkClockIn);

    JsonResult deplane(ReworkClockInDTO reworkClockInDTO);

    JsonResult executeState(ReworkClockIn reworkClockIn);

    JsonResult findProductDetail(ReworkClockIn reworkClockIn);

    JsonResult findTaskList(Integer state);

    JsonResult getTaskInfo(Equipment equipment);
}